home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
- <background>
- <id>3262</id>
- <filler1>0</filler1>
- <bitmap>BMAP_6539.pbm</bitmap>
- <cantDelete> <false /> </cantDelete>
- <showPict> <true /> </showPict>
- <dontSearch> <false /> </dontSearch>
- <link rel="stylesheet" type="text/css" href="stylesheet_23225.css" />
- <part>
- <id>2</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>30</left>
- <top>26</top>
- <right>126</right>
- <bottom>173</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>right</textAlign>
- <font>New York</font>
- <textSize>12</textSize>
- <textStyle>bold</textStyle>
- <textHeight>16</textHeight>
- <name>title</name>
- <script></script>
- </part>
- <part>
- <id>3</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>131</left>
- <top>26</top>
- <right>476</right>
- <bottom>173</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>New York</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <textHeight>16</textHeight>
- <name>contents</name>
- <script></script>
- </part>
- <part>
- <id>12</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>209</left>
- <top>183</top>
- <right>476</right>
- <bottom>306</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <textHeight>24</textHeight>
- <name>buttons</name>
- <script>on closeField
- repeat with i = 1 to 5
- if line i of field "buttons" is empty then hide button i
- else show button i
- end repeat
- end closeField
- </script>
- </part>
- <part>
- <id>16</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>261</left>
- <top>319</top>
- <right>489</right>
- <bottom>334</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>New York</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>bottom area</name>
- <script></script>
- </part>
- <part>
- <id>17</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <false /> </lockText>
- <rect>
- <left>20</left>
- <top>319</top>
- <right>248</right>
- <bottom>334</bottom>
- </rect>
- <style>transparent</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>New York</font>
- <textSize>10</textSize>
- <textStyle>plain</textStyle>
- <textHeight>13</textHeight>
- <name>bottom title</name>
- <script></script>
- </part>
- <part>
- <id>23</id>
- <type>field</type>
- <visible> <false /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <true /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>25</left>
- <top>175</top>
- <right>161</right>
- <bottom>309</bottom>
- </rect>
- <style>shadow</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <false /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Geneva</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <textHeight>16</textHeight>
- <name>backdrop</name>
- <script></script>
- </part>
- <part>
- <id>18</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>28</left>
- <top>178</top>
- <right>155</right>
- <bottom>200</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Create Question</name>
- <script>on mouseUp
- put field "bottom title" into bt
- ask "What category?" with field "bottom area"
- if it is empty then exit mouseUp
- else put it into ba
- get userLevel
- put it into ul
- set userLevel to 4
- get the number of this card
- if it > 2 then go to card (it+5)
- push card
- go to card "question master"
- doMenu copy card
- pop card
- doMenu paste card
- set the name of this card to empty
- put bt into field "bottom title"
- put ba into field "bottom area"
- push card
- go to card "answer master"
- doMenu copy card
- pop card
- doMenu paste card
- initCard "answer 1",bt,ba
- doMenu paste card
- initCard "answer 2",bt,ba
- doMenu paste card
- initCard "answer 3",bt,ba
- doMenu paste card
- initCard "answer 4",bt,ba
- doMenu paste card
- initCard "answer 5",bt,ba
- get the number of this card
- go to card (it-5)
- set userLevel to ul
- end mouseUp
-
- on initCard nm,bt,ba
- set the name of this card to empty
- put "<<< Place " & nm & " Yes or No here >>>" into field "title"
- put bt into field "bottom title"
- put ba into field "bottom area"
- end initCard
- </script>
- </part>
- <part>
- <id>19</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>28</left>
- <top>203</top>
- <right>155</right>
- <bottom>225</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Delete Question</name>
- <script>on mouseUp
- answer "Delete the entire question?" with "OK" or "Cancel"
- if it is "OK" then
- doMenu delete card
- doMenu delete card
- doMenu delete card
- doMenu delete card
- doMenu delete card
- doMenu delete card
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>20</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>28</left>
- <top>258</top>
- <right>155</right>
- <bottom>280</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Next Question</name>
- <script>on mouseUp
- get the number of this card
- if it is 2 then
- go to next card
- else
- go to card value(it+6)
- end if
- end mouseUp
- </script>
- </part>
- <part>
- <id>21</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>28</left>
- <top>282</top>
- <right>155</right>
- <bottom>304</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Previous Question</name>
- <script>on mouseUp
- get the number of this card
- if it > 3 then go to card value(it-6)
- else go to previous card
- end mouseUp
- </script>
- </part>
- <part>
- <id>22</id>
- <type>button</type>
- <visible> <false /> </visible>
- <reserved5> 0 </reserved5>
- <reserved4> 0 </reserved4>
- <reserved3> 0 </reserved3>
- <reserved2> 0 </reserved2>
- <reserved1> 0 </reserved1>
- <enabled> <true /> </enabled>
- <rect>
- <left>28</left>
- <top>231</top>
- <right>155</right>
- <bottom>253</bottom>
- </rect>
- <style>roundrect</style>
- <showName> <true /> </showName>
- <highlight> <false /> </highlight>
- <autoHighlight> <true /> </autoHighlight>
- <sharedHighlight> <true /> </sharedHighlight>
- <family>0</family>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>center</textAlign>
- <font>Chicago</font>
- <textSize>12</textSize>
- <textStyle>plain</textStyle>
- <name>Return to Front</name>
- <script>on mouseUp
- go to first card
- end mouseUp
- </script>
- </part>
- <name></name>
- <script>on openCard
- global lastQuestion
- put the id of this card into lastQuestion
- end openCard
- </script>
- </background>
-